home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / python-support / python-rdflib / rdflib / Identifier.py < prev    next >
Encoding:
Python Source  |  2007-04-04  |  314 b   |  11 lines

  1. from rdflib.Node import Node
  2.  
  3. class Identifier(Node,unicode): # we allow Identifiers to be Nodes in our Graph
  4.     """
  5.     See http://www.w3.org/2002/07/rdf-identifer-terminology/
  6.     regarding choice of terminology.
  7.     """
  8.     __slots__ = ()
  9.     def __new__(cls, value):
  10.         return unicode.__new__(cls,value)
  11.